package com.apobates.forum.toro.test.core;

import java.time.LocalDateTime;

// 栏目
public class ArticleSection {
    private int id;
    // 栏目名称
    private String name;
    // 栏目分类
    private String category;
    private int categoryId;
    // 栏目目录
    private String directory;
    // 栏目地址
    private String uri;
    // 栏目活跃日期
    private LocalDateTime active;
    // 栏目文章数量
    private long size;

    public ArticleSection(int id, String name, String category, int categoryId, String directory, String uri) {
        this.id = id;
        this.name = name;
        this.category = category;
        this.categoryId = categoryId;
        this.directory = directory;
        this.uri = uri;
    }
    public ArticleSection(int id, String name, String category, String directory, String uri) {
        this.id = id;
        this.name = name;
        this.category = category;
        this.categoryId = 1;
        this.directory = directory;
        this.uri = uri;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public int getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(int categoryId) {
        this.categoryId = categoryId;
    }

    public String getDirectory() {
        return directory;
    }

    public void setDirectory(String directory) {
        this.directory = directory;
    }

    public String getUri() {
        return uri;
    }

    public void setUri(String uri) {
        this.uri = uri;
    }

    public LocalDateTime getActive() {
        return active;
    }

    public void setActive(LocalDateTime active) {
        this.active = active;
    }

    public long getSize() {
        return size;
    }

    public void setSize(long size) {
        this.size = size;
    }
}
